<style type="text/css">
    .bjui-pageHeader{
        font-size: 18px;
        font-weight: bold;
    }
    .form{
        padding: 15px;
    }
    .form dl {
        overflow: hidden;
        padding-top: 15px;
    }

    .form dt {
        color: #666;
        float: left;
        font-size: 14px;
        padding: 3px 0 0;
        width: 11%;
    }
    .form dd {
        float: left;
        line-height: 22px;
    }
    dd.desc {
        height: 30px;
        padding: 0 10px;
        width: 150px;
    }
</style>
<div class="bjui-pageHeader">
    <div class="glyphicon glyphicon-th-large">权限分组</div>
    <button type="button" data-url="{:U('Auth/moduleView',array('action'=>'add'))}" class="btn btn-default" data-toggle="navtab" data-id="Auth-moduleView-add" data-reload-warn="已打开添加用户组，确认将重新载入?" data-title="添加用户组" data-icon="plus">添加用户组
            </button>
</div>
<div class="bjui-pageContent">
    <table  class="table table-bordered table-hover table-striped table-top" data-selected-multi="true">
        <thead>
            <tr>
                <th>编号</th>
                <th>权限组名称</th>
                <th>操作</th>
            </tr>
        </thead>
        <tbody>
            <foreach name='modules' item='v'>
                <tr>
                    <td>{$v.id}</td>
                    <td>{$v.moduleName}</td>
                    <td>
                        <a href="{:U('Auth/moduleView',array('id' =>$v['id'],'action'=>'edit'))}" data-toggle="navtab" data-id="Auth-moduleView-2" data-title="修改权限组">修改</a>
                        <a href="{:U('Auth/moduleDel',array('id' =>$v['id']))}"  data-toggle="doajax"
                               data-confirm-msg="确定要删除吗？" data-type="get">删除
                        </a>
                    </td>
                </tr>
            </foreach>
        </tbody>
    </table>
</div>
<div class="bjui-pageFooter">
    <ul>
        <li>
            <button type="button" class="btn-close" data-icon="close">关闭</button>
        </li>
    </ul>
</div>